package com.lucy.disk.params;

import com.lucy.common.domain.PageParamDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;

/**
 * @author kindear
 * 分页查询参数
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class FileQueryParams extends PageParamDTO {
    @ApiModelProperty(value = "目录ID")
    private String dirId;

    @ApiModelProperty(value = "用户ID")
    String userId;

    @ApiModelProperty(value = "是否为目录(文件夹)")
    private Integer isDir;

    @ApiModelProperty(value = "文件名")
    private String fileName;


    @ApiModelProperty(value = "文件状态",notes = "0 为禁止访问 1 为正常")
    private Integer fileStatus;

    @ApiModelProperty(value = "文件类型")
    private Integer fileType;
}
